<#include "/included/view_meta_global.ftl">
<body>
<script>
function feedback(){
	if(!$("#title")[0].value){
		$("#warnMessage")[0].innerHTML="Title is required";
		return false;
	}else{
		document.postform.submit();
	}
}
shortcut.add("Ctrl+return",function() {
	feedback();
});
$(document).ready(function(){
	$("#title").focus();
})
</script>
<div id="maxw">
<!-- header part -->
<#include "/included/header_global.ftl">
<!-- end header part -->

<div id="leftpart">
<form action="#"  name="postform" method="post">
	<div class="warnMessage" id="warnMessage">${warnMessage?if_exists}</div>
	<p class="post_page">Your feedback title here: <br>
		<input type="text" name="title" id="title" class="i">
	<#if !Session.userId?exists>
	<p class="post_page">Your email: <br>
		<input type="text" name="email" id="email" class="i">
	</#if>
  	<p class="post_page">Detail discription of your feedback:<br>
		<textarea name="content" style="width:88%; height:200px; font-size:12px"></textarea>
  	<p><input type="button" onClick="feedback();" value="submit"><span class="tip" style="font-size:0.9em;">(Ctrl+Enter)</span>
</form>
</div>
<!-- 右半边 right side part -->
<div id="rightpart"><#include "/included/rightside_global.ftl"></div>
<!-- end 右半边  right side part -->

<!-- 底部 footer  -->
<#include "/included/footer_global.ftl">
<!-- end  底部 footer  -->
</div><!-- end  maxw  -->
</body>
</html>
